package com.techwells.applicationMarket.dao;

import java.util.List;

import com.techwells.applicationMarket.domain.User;
import com.techwells.applicationMarket.domain.UserMessage;

public interface UserMessageMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(UserMessage record);

    int insertSelective(UserMessage record);

    UserMessage selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(UserMessage record);

    int updateByPrimaryKey(UserMessage record);
    
    /**
     * 获取所有没有userMessage的用户
     * @return
     */
    List<User> selectUserList();
}